﻿using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;

namespace TSVNAddin.Core.Test
{
	[TestFixture]
	public class CommandFactoryFixture
	{
		[Test]
		public void CreateCommandsForAllCommandTypes()
		{
			CommandFactory factory = new CommandFactory();
			CommandDictionary commands = factory.CreateCommands(null, null);

			Assert.AreEqual(Enum.GetNames(typeof(CommandType)).Length, commands.Count);
		}
	}
}
